package com.shen.xml;

import java.util.HashMap;

import static com.shen.xml.ShenTagConstant.TAG_CONSTANT;

public class VueTagConstant {
    public static void SetVueTagConstant() {
        /* vue router */
        HashMap<String, String[]> routerLink = new HashMap<>();
        routerLink.put("to", new String[]{"home", "{path: 'home'}", "{path: 'home', query: {plan: 'private'}}"});
        routerLink.put("replace", new String[]{"true", "false"});
        routerLink.put("append", new String[]{"true", "false"});
        routerLink.put("tag", new String[]{"a", "li"});
        routerLink.put("active-class", new String[]{"router-link-active"});
        routerLink.put("exact", new String[]{"true", "false"});
        routerLink.put("event", new String[]{"click"});
        routerLink.put("exact-active-class", new String[]{"router-link-exact-active"});
        TAG_CONSTANT.put("router-link", routerLink);

        HashMap<String, String[]> routerView = new HashMap<>();
        routerView.put("name", new String[]{"default", "componentsName"});
        TAG_CONSTANT.put("router-view", routerView);

        /*
        HashMap<String, String[]> elRowMap = new HashMap<>();
        elRowMap.put("gutter", new String[]{"10"});
        TAG_CONSTANT.put("el-row", elRowMap);
        */
    }
}
